using regex to get the filename
pattern used does not use multiple variable declarations with commas
forEach loop to get html script tag lines instead of a for loop
Merge pull request #1 from Askoth/master

Cleaning up by Askoth (justfile regex, missing ;, forEach instead of for)