Fix syntax error causing bug with sidebar resizing.
Fix background page externs.