Little RESTful app in nodejs