Updated for new jquery-rails version