tests update (JS enclose)
Merge pull request #432 from DarkSide666/patch-3

tests update (JS enclose)