Added unit test for scripttags.js