Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
As expected it worked as expected with the above code in Developer Edition. 🙂 Didn't noticed that before, so thanks for your help and sorry for the noise.. 😉