Added functionDecorator.js