Thanks to second period surge, Rangers down Devils