commonJS approach used to create a custom YUI module