Reference javascript messages by dot notation instead of using ['strFoo']

Also discussed on mailing list.