Final changes made to allow jasmine tets to run in the browser