Experimentation with haml and javascript