completed issue #23 and ran though jshint, and minified to check for problems