added ability use ruby blocks when calling javascript functions
Merge pull request #2 from joshnuss/features/block-syntax

Using ruby blocks when calling into javascript functions