little performance optimization when creating the panel
Testing chrome's alarms API