How to Get Area of the Square using JavaScript