Javascript toolkit