add stratifiedjs implementation
Merge pull request #4 from afri/master

less invasive stratifiedjs implementation