Update <Window>.base64

- simplify base64 detection
- simplify base64 dependencies
Fix detect.js

- this keyword not allowed, use window
- focusin detection