Priyanja, this same workaround is in another post about the same topic. I do not have this code ((function () {if (app.viewerVersion >= 8 && !app.viewerType.match(/Reader/))when I choose the options you suggested.
This is the code that is in the JavaScript Editor box: