Repaired TestView by only loading js files once

App tests were broken? Couldn't navigate around because it'd try to load the same JS files again. Still not sure why the `Illegal invocation` error though. Anyway, it should only load once now. 

P.S. @sderickson might want to have a look at this