<%= javascript_tag do %> var dashboard_path = <%= dashboard_path.to_json.html_safe %>; <% end %>