define('admin', [ 'mailpoet', 'jquery', 'handlebars', ], function(MailPoet, jQuery, Handlebars) { console.log('OVER HERE', MailPoet, jQuery, Handlebars); jQuery(function($) { // dom ready $(function() { }); }); });