fixed next-btn not being disabled when pagination contains 1 pg
correctly setup js to work with turbolinks (not a bug)