Create joystick.js and add code