Cleanup: convert tabs to 8 spaces in the JS file.
Use HTTPS for all referenced URLs that support it.