Refactoring ycb read to a separate method, jslint fixes