shim a jquery replacement for server