Fix js error on deep-linked app details (bug 891339)