removes js libs and switches to cdn