hibiken and facebook-github-bot Examples cleanup
**Cleanup Examples code**
I linted code in the  `/examples` folder with ESLint config that ships with `create-react-app` and I found a few warnings.

Changes made:
- Removed unused variables, imports
- Refactored switch statement to a simple if statement
- Removed unnecessary escape in Regex

Please let me know if you want me to squash commits or make changes 😄
Closes #1649

Differential Revision: D7085257

fbshipit-source-id: 3292462da3926377537e840dc45ca206a41a8a1b
Latest commit 67f3586 Feb 26, 2018
Failed to load latest commit information.
entity.html Examples cleanup Feb 26, 2018