JavaScript - Detect and Display Screen Resolution using JavaScript Function.