add stratifiedjs implementation