SharePoint 2010 REST simulation in nodejs