changed input tool to jquery
changed pause to space and made input jquery