Facebook has announced they are releasing a “major update” to FBJS (Facebook JavaScript) named FBJS2. The current version uses a number of non-standard modifications to the languages that increase the learning curve (and debugging) unnecessarily.
For example, setting the height and width of a graphic element currently works something like this:
this.setStyle({width:90px, height: 20px});
FBJS2 will allow more standard nomenclature, such as this:
this.style.width=90px;
this.style.height=20px;
Much easier to read/write/debug.