Javascript implementation and data files for Phrzsr