Fixed js path bug on main page