update background.js whitespace
clean up js styling
refactor js