added defined-tags
Merge pull request #18 from halgari/master

Store references to generated dom functions inside a hashmap as well