Update index.js

removed sapce typo from methods list