Fixed sgml files failing on non-Linux computers (javascript file.type is screwy)