karma and jquery working by proxieing the base path to serve the json for testing