migrating to new version of jstatic