       config = false
     config
   , {}
+  logger.error("[Hull.init] jsUrl NEEDS be loaded via https if orgUrl is https ") if httpsRegex.test(out.orgUrl) and not httpsRegex.test(out.jsUrl)
+  out

  return unless hull_js_sdk

  # Map known config values to Hull init
  _.reduce initParams, (config, param, key)->
    return unless config
    value = getParamValue(hull_js_sdk, param, key)
    if value?

dasherize = (str)->
  str.replace /[A-Z]/, (c) ->  "-" + c.toLowerCase()


httpsRegex = /^https:|^\/\//

valid =
  regex: (reg)-> (val, key)->
    check = reg.test(val)
    if !check
