precompile the jsx
Add console support and fix layout