Restore vendor/loader.js - still needed for tests

[Fixes #3]