Cleaned up code

Code for shot is cleaned up + refactored, as with other things

script.js now exists