add filter as a view to device's design doc.
clean js functions and add comment and explicit default_filter use
Merge pull request #81 from aenario/master

add filter as a view to device's design doc.