Vanilla js instead of js