updated mosaic new path. converted all to ajax calls.