fixing http prefix for script links