updating loading pages from grunt to calculate the destination path