I would change this to `@main_title.attr 'id', $.text_to_id(@main_title.text())`. I think the multiple spaces makes the order of operations unclear at a glance. You need to understand how parsing works otherwise.