Update moment.js

Changes will work with require and with other compiles like Google Closure. Make sure that variables are atleast defined as undefined, or errors will be thrown.