A Javascript unit test!