Move canonicalize.js from public to private