Serbian record breaker on brink of leaving West Ham for Motherwell