Update zui.js

Added features for ViewObject