Having trouble making things work in Chrome that work well in FF and IE7(!). My suspicious JS code crashes a tab..