adding the page component
setting up react to work with commonjs and react helper