vanilla js becomes jquery