added some jQuery methods.