fix error with numbers in dom-type generation
fix karma version
update gitignore
remove global t variable
change version to 0.0.4