Engine: Adding request interceptor to allow JS tests to pass

and prevent having to set awkward pathing throughout the JS code.