Fixing AMD registration

Syntax to register as an anonymous module was incorrect.  The two-argument version of define only works when the first argument is an array of module ID's (strings) not objects.