adds httpInterceptor for api calls & cleans app.js