added window.onload
removed ;s
added config and option to change the rule