fix the > and use more jquery