some jq19 fixes
more fixes of jquery 1.9
Merge branch 'develop' into testing