$(document).ready(function(){ if ($('#setup-content').length) { $('#new_rack_modal').remove(); $(document.body).prepend('