add isShow and onShow methods to Widgetfly.Server
revert main.js