Sometimes I really miss bang methods from ruby when I want to change a javascript string in place.