Node app - Some helpers