Improvements by KOLANICH:
added kTools (its architecture now is shitty) and some good functions not present in old IE used as JS engine