Fixes error of split() undefined in stateService.js
Removed a console.log()
Merge pull request #55 from jhaddow/master

Fixes the bug