Fixes #16 JSX directive is prepended when not needed

JSX directive is not prepended if already found
if statement would be better here