Split out HAML, CSS, and JS from Ruby
Use asset pipeline to minify JS in production
Fix non-display of preview after text box cleared

If you clear the text box and then hit Undo, the preview should
reappear.