Provide tests for support pages with cp-1251. May be, make a tool calling tests from subpages. And collect common test functions to separate JS file.