The init template now uses typeof checks, rather than inspecting the window's properties.
The init template now uses typeof checks, rather than inspecting the window's properties.

Fixes #2

markfinger/python-react,HorizonXP/python-react-router,abdelouahabb/python-react,fanscribed/django-react,fanscribed/django-react,arceduardvincent/python-react,HorizonXP/python-react-router,acrispin/python-react,abdelouahabb/python-react,mic159/react-render,arceduardvincent/python-react,acrispin/python-react,mic159/react-render,mic159/react-render,markfinger/python-react,HorizonXP/python-react-router