Fixes #16 JSX directive is prepended when not needed

JSX directive is not prepended if already found
code style