added readme
updated to use native Array.isArray is available