updated tests and README with cdnjs info