Migrating express from 3.x to 4.x