Distributed Java Script