with old js