use traceur npm package, add tests, change file ouput to use basename.