Nice template!
I just noticed that when you press jump and release the button before you land on the ground, you still jump high and the velocity doesn't get divided by 2. Haven't found a solution to that yet.. Just wanted to let you know, nice template anyways :)