Added some mixins, moved scripts around. Set up for plugins.js to be prepended to scripts.js before minification.