update demos to work off CDN.

add sample for AFPL