added back readme, cleaned up js via jshint