Safari extension fails on load