What did I do wrong?
Probably nothing. This must be a file corruption introduced by your FTP client (when upload the files). You should just try again - maybe with a different FTP client if you get the same problem. (The line 4608 has nothing to do with initializePivotX so the file must be completely broken.)