[docs] Tweak frontpage first example and jsx-compiler example
Merge pull request #914 from chenglou/jsx

tweak frontpage first example code