fixed issue where js and json files weren't being interpreted