Changed test to a Javascript application