remove traverse.replace and let traverse deal with it
hoist FunctionDeclaration exports to top, possible fix for #30