Removed AJAX call to image_vectors function and moved to the served side in image_annotations function. Fixed bug in processing url in api.digipal.js