got rid of jshint errors in shared/model.js