change .txt to .js