issue #5685: replace create with new in LoaderTest.js
Merge pull request #584 from joshuastray/use_new_in_sample

issue #5685: replace create with new in LoaderTest.js