title: How to determine which iPhone version the javascript code runs on?
body: <p>Need to distinguish between <em>iPhone3x</em> and <em>iPhone4x</em>. Is there any way to figure out the version from JavaScript please?</p>