replace string like coffeescript's string interpolation