refactor exercise paragraph enforcement to use more jquery