Actions were rendering in the JavaScript block with unicode u'' prefix. Removed repr block.