Replace remote_function with Rails 3 equivalent (oligo_designs/new_query)