Took recent work from windows project and updated the api test javascript