simplify functional test

* remove jQuery dependency
* ignore matchMedia polyfill
* drop modernizr