Update version check script to not use jQuery.