Added /dist/ to ignore
Changed the JS a bit