Pass feature object to onmediaquery