Resolve JS hint errors

Minor touch up so it passes validation
I was looking at Moment.js too. =)    I couldn't repo the problem in with a simple node require.  I'd like to clean up up the AMD hooks a bit so that the name/context/definition function is broken up a bit for readability.   We shouldn't even need to touch the global scope in an AMD situation, which would bypass what I think you're saying is a SecureECMAScript issue. 

Both Moment and Underscore use .call(this) on the outside function scope.   It's my understanding that in browsers 'this' is the window and in Node it represents 'global'.   Is this correct?  Are there any other environments to think of?