adding jquery hooks and license