added functions

1. cookie_alert() - because it was breaking inline on IE
2. called initialize() with DOMContentLoaded listener