Fix Cannot read property 'indexOf' of undefined (#1406)
Fix Cannot read property 'indexOf' of undefined (#1406)

* Fix Cannot read property 'indexOf' of undefined

* Update smooth-scrolling.js

combine similar checks to single statement

elementary/mvp,elementary/website,elementary/mvp,elementary/website,elementary/website,elementary/mvp