Add client-side javascript.