Only require the other file in nodeJS

Not sure if this is the best way of doing this