Add data attr to text labels so their vesselId can be stored and referred to.  Fix whitespace issues, change $.each() to for() and alert() to console.log().  Fix re-declaration of vesselPositions.