Remove HTMLForm::addJS() (deprecated since 1.18)

Change-Id: Id174d37b69a2e8d76555c3d414fdb87c01222d66