fix app js include with asset pipeline enabled
gem stuff
hack to fix conflict between will_paginate and kaminari

for rails_admin
see https://github.com/sferik/rails_admin/issues/1107