VX(H): Add the client logic in a JS file.