Update index.js

Add support for typescript (.ts) files