Do not activate rails-ajax when onclick events are defined + Corrected Travis config