added jQuery and proper calls to the init function