extract hard code ajax links to a local variable
clean up script.js

- move widget and sponsor codes to separated files
- remove old program, app cache, ipv6, and some usless sponsor and
mobile customize codes
clean up sponsor.js, don't hard code l10n strings
nits in program.js
clean up compile-sponsor.php, don't hard code l10n strings