A server side library to make javascript IE compatible

I have been looking for a server side library that is able to capture all scripts used on an HTML page, and convert them to IE (<9) compatible (eg, handling things like getter / setters, missing types etc.). However I am not having much luck finding one.

Does anyone know if such a library? Am I dreaming thinking I will be able to find / build such a thing?

My preference is first node.js, second POSIX, however any suggestions would be much appreciated.

Edit: I think it is worth noting that I am not referring to something which handles differences in the IE DOM (although that would be helpful), but rather something that handles javascript language differences.

There are what you call shims, like ES5-shim. Though not thoroughly complete, they create support for ES5 functionality for legacy browsers. This is client-side code though.