Small fix of two problems: video_player_spec wouldn't run because of a syntax error, all test would fail when error() was called on an undefined JQuery object