Refactor onlineCheck and logging to bin/bower to capture all cases.