replaced window.onload by .ready()
fixes for diatomite filters
3.4.12