Fixed syntax error in test in old IEs

Caused errors when running tests in IE7 at http://momentjs.com/test/