make jshint happy
rest full api example