Improve Cancan/ Destroyed useless js