I was half-reading this on my phone when I replied, but noticed today these lines are in runtime.js, not hash.rb, so Ruby interpolation isn't available.