Backend for JS test