Fix js tests and move to "spec/js"