Added some missing clientside code.