put js in the right place