Fix Widget Routing, Redo JS Rendering for Widgets and Replace RAILS_ROOT With Rails.root