more jquery improvements on indexmenu.js