Replaced global variable with AMD.
Replaced global variable with AMD.
Initial commit.
Added comments and formatting.
Changed baseUrl to reference src.
Corrected file path errors
Return function reference not object literal.