Engine: Adding request interceptor to allow JS tests to pass
and prevent having to set awkward pathing throughout the JS code.
Merge pull request #3430 from ehelms/engine-js-tests

Engine: Adding request interceptor to allow JS tests to pass