stop using deprecated link_to_function. We still inline js for this one though, at the moment.
Revert "remove ConnectionPool patch, should be no longer neccesary and at any rate no longer works without giving us tons of deprecation warnings"

This reverts commit cf7656f28aeac40e8db9f9384baff6f4bcdf4aab.
fix typo