I have some changes to update most of the JavaScript tests to use the KDE style where you make a .js file with code and shouldBe assertions. There's also a script that generates html wrapper files for each JS file in a consistent way, so the standard functions are always available.
Created attachment 5560 [details] patch including new script and redone tests
Created attachment 5561 [details] patch with added files in
Comment on attachment 5561 [details] patch with added files in rs=me I read through the "important" parts, they seemed fine. There is no way I can verify all of those tests. You were missing a line ending at the end of js-tests-post.js that's it.