replace link_to_function's with ujs