Fixed js libraries code.
Removed coordinate rounding because https://www.drupal.org/node/2382515 is fixed.