Changed default JS version to v1, fixes security error.