Fixed Javascript, Added more test pages