Solution: please make sure that there is file MicrosoftAjax.js in LAYOUTS SharePoint folder (c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\ for SP2013) on all Web Front End servers in your farm. If this file is not present, copy it to the folder on all WFE servers.