[coordinate.js] Correctly assigning coordinate variable

Using "this" to set the global coordinate object to prevent a crash in the ResourceLoader
when debug mode is turned off.

Change-Id: I7ccdd2e4223fd1b8f92e4cc5f12028222694afeb