JavaScript for JWA