trying to use jquery instead of js