If I copy and paste the 1.0 code into the browser ...
# suitescript
k
If I copy and paste the 1.0 code into the browser console, it flashes a blue box around the promocode field