changed element being called using jquery instead of getElementById