Adding requireJS and module export support