HTML client improvements and fix for removed zendlib