Updating javascript file to fix menu issues.