Minor Refactoring

Minor refactoring to handle bitrate by chrome.storage