Abstract out sentence and messages from html for extensibility

I had to extend this for twitter bootstrap. This means I only need to overwrite the html if I need to.