Moving JavaScript static