adding requirejs support