Cleaned up jquery plugin and improved event-method.
Merge branch 'master' into htmud