parse deployment, jshint fixes