ported app to nodejs and express framework