Remove arrow functions from node code