Replace jq by $
Remove trailing whitespaces
Fix js syntax errors, may breake IE
Define $
Merge pull request #3 from 4teamwork/mle-plone42

Replace jq by $, plus various js fixes