add version to localized js object, run version check and use events & gracefully degrade