Refactor assets toolbar for jquery 1.9.1 and Rails4.