Add dedupe.js test case
Visit function scopes and emit locals
Show type, and pad output