spToDd.js added