included CTA_rev5, and added sample-main.js