comments and fixed package dependency version number
fixed build, removed dep on freedom-typescript, fixed TS paths
added note about why this file is in third_party