Fixed JSCS errors due to version incompatibilities.