??? Just tried your code with *NO* changes in Chrome and it worked perfectly.
My version of Chrome: Version 23.0.1271.91 m -- so same as yours apparently.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.