Jscript api and iis

I am trying to run a example which use jscript API .This is the same example given in documentation.

I had done the following congf before using it.
1)entered the keys in regedit.
2)added modiis.dll in isapi filters.

Error is Taminoclient undefined in line
QueryObj = new TaminoClient(dbname, pageSize);

I think it cant ref script library.

I want to know the full process of conf for iis and using this jscripts API.
Thanx