Removed dependency on almond.js