Fix frame checking again.

Somehow window.frameElement is not reliable.
adf.ly

close #569
Fix warning.
Rename script.
Remove comment code.
Update changelog.
Bump version.