Updated scripts so they work with TurboLinks: