Correctly placing the js