Fixed jQuery problems.