can.Map code block cleanup and fix failure to render.

Fixes #1030