[coordinate.js] Implemented equals() function in Coordinate prototype

Change-Id: I2a13cd9ca3dadd377593e64ac5c2c8cc70e0a469