More pure js react component