improve JSX detection and refactor #46
Prepare 1.0.0 release