fix for using with jquery-ui-rails 5.x / active-admin 1.x