Zajac's hat trick leads Devils past Panthers.