js now loads in footer