Bug fixes.

Fixed bugs and added compressed jquery files.