Remove deprecated js
Drop support for rails 3.1