fix for loading issues

changed loading behavior so that the script is added to dom...loading under chrome, firefox (greasemonkey and scriptish)