add in old js for cached widgets