json validate
use ajax get capture devices