Revert "Move javascript tests from "test" to "spec/js""

This reverts commit 3e219de164bdf727bdcfbaa84bc5841d2bbb76fc.