Minified scripts and better handeling of loading errors.

Moment.js can't handle async script loading. :(