Removed test diagnis items from Javascript array