Fix call to undefined JS method

Fixes https://github.com/ManageIQ/manageiq/issues/1040