library and demo docs adjusted to get appropriate verion from cdn