Update busDataRetriever.js

Fixes to issues outlined by code climate