Java Script is bypassing explicit proxy settings