This never worked, and now endjs is defined in the base template anyway.