Added parameter to give option to force upload js