Only include the JS test assets when needed.

This will avoid any possibility of js test assets affecting the JS
integration tests.