Rails4 branch merged with jquery-bootstrap

Hi! Thanks to your updates on the Rails4 branch, I was able to update my jquery branch and get it ready for Rails4. Please consider taking a look.