created a file with external JS