Created JS file for game