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

Some <script /> can be without 'src' attribute.
Merge pull request #45 from LoicMahieu/patch-1

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