Converted from rjs to js.haml.