pass in params and state into jcontroller functions
update version