removes foudnation from applocation.js require tree