apply js cdn, and remove js library files.