Replaced WidgetTemplate RPC with JS Equivalent
Converted Widget RPC from Coffee to JS