JSHint fixes, added CO library