Very basic equal heights function in vanilla js