javascrip can now use java objects