moved ie code into theme js (needed jquery to be loaded)