remove non-existing class from preloadClasses
add head element to make unitest more robust
not all browsers have document.head, add fallback
add default scope
don't wait for onload, that is fired already probably
fix test
add filter