Delegate missing ruby methods to javascript