Adjusting JS and CSS regex commands to be less greedy, allowing minified...

... HTML to be processed in full.