Fix the broken batcher example

The CAS needed to do a gets instead of get. Also needed to check to do an add
first as the cas will fail if the key doesn't already exist.

Also fixed a syntax bug in the javscript portion of the template.
Merge pull request #50 from beaulyddon-wf/fix_batcher_example

Fix the broken batcher example