Removed version numbers from production code.
Made popup global variable instead of lastFeature.