Basically ParSi, only written in JavaScript in order to work nicely with an upcoming project of mine.