added support without requirejs