Added: more test coverage
Change: js->ts file for testing
Added: qunit.d.ts file into project
Added: some comments for future refactoring
Fixed: code in some functions for best quality with new test coverage