Willem II got their first win of the season after two quick goals in the first half gave them a 2-1 victory over struggling Ajax.