Created javascript file for things