Playing with chrome extension and its quirks