Bugfix for #1

This should fix the style tag issue on the first script tag.