renamed .js to .ts