Update rest.js

Removed log