Adding jquery functionality.