Convert dpicontroller from ts to js becuase our build system is pissy about mixing in d.ts files during testing.