Fix so that GWTUI js file is not executed under PolyGerrit When using PolyGerrit, it appears that it loads GWTUI specific delete-project js files. It dosen't appear to inject "window.Polymer" into it thus will always equal undefined or false. To fix this we look for the GERRIT_UI cookie which if the user is using GWTUI, will have this set. Change-Id: I2512fe18108799f3a73b00ada8a756eb6e397879