seperated JS into a seperate file.