Loose jquery-rails dependency. Closes #2086