Can the js api be hosted locally on an https connection? Would I just change all the pointers to https?