Adding a javascript library to detect HTML5 features that a browser supports