added thanks for rapid7 browserscan javascript code