Fix some strict notices
xhrFields for withCredentials: true to ajax requests. #2097
Merge branch 'master' into release/2.1
Compress JS for release/2.1