Relaxed jquery-rails dependency
Detect if there are accessible attributes.

If there are not accessible attributes we will make the methods to avoid
the protection.