Update restful.js