adding fallback for jquery and allowing for ambiguous http call (allows for https dynamically)