Convert app to nodejs