Bugfix inside view.php to get jQuery to work.