add playlist api javascript
use js to inject playlist