Fallback to js click if browers can't find button
Use css width 100% for .flex (still use js for height)