Movement script, moving up when moving positively in z axis

I created a question about to ask about help converting a script from javascript to c#, I got help but now I’m having a bug , he said to create another question on this, anyway I have no ideia why it’s happenning. When my character moves positively in z axis in the world coordinate system, I start going up, doesn’t maatter if I’m walking back, sideways or walking forward, if I move positively on the z axis(world, not local) I start moving up. I will give you my capsule with the movement script, mouse script as a unity package, also in javascript since this happenned trying to convert from javascript to c#, so you can maybe get what’s the problem in my script better. And please comment what I had wrong.
Thanks in advance.
https://dl.dropbox.com/u/151460612/Player%20Capsule.unitypackage

Ok I got help from one guy, thanks anyway, now it’s fixed