adding invalid char example and fixing a js platform item