jQuery: JSDoc'd coordinates and added test suite

Added interface to cover coordinates definition.