js now loads in footer
fixed syntax / clean up