Fix RJS and jquery ui helpers