solutions to jquery assignment