remove code for registerElement because Firefox 5 doesn't like it.
remove code for registerElement because Firefox 5 doesn't like it.
cleanup
call pre/post-callback functions after parameter changes.
handling preAttributechangecallback results.