Fixed define call for AMD

According to the [documentation](http://requirejs.org/docs/api.html#modulename)
modules should not be defined using a name, because they are less portable.

In my use case we put all 3rd party libraries in `lib/`, so moment is
`lib/moment`, not just moment.