Use a named function to open the butler view.

Since the same callback is used twice, we can reduce code duplication by saving a reference and reusing.
Merge pull request #20 from evansolomon/named-js-callback

Use a named function to open the butler view. Props @evansolomon.