Added module names to each amd module registration and added a require to actually run the code when it's loaded as AMD modules.