Refactor html and js, add new glitch