Change var from jquery to normal js var