Added HTML functionality and HAML