change library_id, photo_id, layer_id in DB from JSON object to array. Removed spinner from CSS, will use GIF instead