moved JS files into the head