Move prototype_legacy_helper to Gemfile, ref gh-450