use jquery instead of prototype