Update jquery and markitup

Update jQuery to 1.8, 1.9 would require some changes for some plugins, like text filters.
Remove some legacy functions in wolf.js