Fix issue #43 (Cannot call method 'splice')

Some <script /> can be without 'src' attribute.