deobfuscate code
make event handlers not anonymous
simplify `onResizeThrottled`