Updated character controller script

Fixed Lisbeth's script so it actually works!
Also fuck Javascript!