formatted code, fixed spacing and jshint errors and added a compressed production ready version with a source map