changing from JSX to plain old JS