Move JS tests to t/js

No need for a separate test directory.