Move jquery e.g. ext dependent code into correct file
Centralise onContentReady because it's the same for jquery and ext
Improve test

Check for correct param-object
Check for dynamically added element
Check for visibility options