Repaired TestView by only loading js files once
Merge pull request #1401 from rubenvereecken/test_fix

Repaired TestView by only loading js files once