Separated weapons to new file, weapons.js. Also cleaned up by renaming some variables to more useful/less cryptic naming