jRespond is a simple way to globally manage javascript on responsive websites.
JavaScript Libraries and Functions · Compatibility