Added html and haml parsing for karma