Update grand_master_cas.js

Small modification for use with or without SSL, i.e., https or http respectively.