Uh, well thats a pretty odd request, truth is - you'll need to build something like a webforms app to do the hook up between the library.

You do realize the dll is running at the server and the JavaScript is running on the local client, right?

It's also rare, and arguably very bad practice that a library alone would be the dictating factor in an application, i.e. the webforms app would be the application, the lib would just be... uh- a lib.