youtube.lua: descramble signatures by parsing javascript code

This should be more resilient to updates.

Fixes #9217