Seperated JavaScript into seperate files.