Testing CSS support with JavaScript