Fixing script regex to support script tags on the same line

This was replacing more than just one script tag because Jade puts the script tags on the same line