Why do I have to move my mouse back to the screen to click on restart? Please choose a key for such basic things. Unnecessary physics take a lot away from performance. I can see that you decided to constantly account for every possible collision (rod on pillars).
The slow transition between lines and jumping makes the game unnecessarily hard.
Next time dive into programming a little and don't just pop stuff together in a random game creator.