Fix error in controller docs for JS