Localized script for Genesis 2.x HTML5 support