Added some JS code.