refactor FunctionExpression and FunctionDeclarationStatement