updates from windows alterations to make ajax work