Starting to move JavaScript content to one file