Port cilantro/structs to JavaScript

Signed-off-by: Don Naegely <naegelyd@gmail.com>
Merge pull request #639 from cbmi/structs-to-js

Port cilantro/structs to JavaScript
Changes to beautify filters to handle changes to avocado API

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>