add controller from ruby to js doc