Cosmic client-side javascript.