Added credits, cleaned up code, jshint-ed