finishing migration to JSD. closes #28