For JS block type:
Any attributes which come after the file name will be added to resulting script tag

Added  ?: to regex