In-form winger Aaron Murphy scored twice in a seven-try romp as Huddersfield secured a 38-14 Super League victory against Catalans Dragons to end a three-match losing run.