Probably the most polished variant of this game idea I have seen so far! I would recommend that you change the space bar to something like the enter key to restart though, as by instinct I try to jump, and it restarts the level.
I modified the restart button as per your advice. Thanks for the feedback.