Survey Example in Javascript.