Fixed bug with no coordinates
Removed unnecessary parseFloat