Adding support for RequireJS, now the widget requires jquery using RequireJS