Fixes for line drawing on Chrome
Fix bad URLS blocking json call