prototype $ var does not live together with jQuery. Need to upgrade jQuery to avoid this in the future, and also get rid of prototype code