Made init callback more robust (changed name to on-init)

Also added on $destroy code to hide the clippy (clippyjs doesnt really have a destory method, or I didn't find it).