Remove function declaration by var