Misc fixes, adds moment.min.js to theme