Added wrapper definition for JS.