move back to vanilla js