Adding jquery and debugging