Added some jQuery functions.

UI refactoring