Add theme URL
Attach JS events as early as possible