Workaround for dom ready being fired multiple times (reason for that not known).