Implemented the jQuery stuff