pass :handle_javascript as a local to the toolbar template