nodeJS application decorator