"public" is new for me in JavaScript.
http://jsfiddle.net/SpGUN/