Bugfix for incorrect jQuery link
Improved jQuery safe mode