Update README.md

Updated README.md to fix ```Object #<Object> has no method 'indexOf’``` issue