JS controller replaced with invocation of client-side routines