Improved Javascript.