reduce down to 2 js files