Moved code to init when dom is ready.  Causing problems on IE6