only require min version of js