FIX: https issue (#17)

use https for all resources. It required moving some resources to locally served resources when not available through https publicly (fixing also a problem of depending on internet resources without version which may move overtime).