Update moment.js

For compiler such as the google closure compiler, use window.console instead of console, or compiler with throw errors. Tightening up js.