Tkt 1293: Javascript not handle &amp; properly