html and js setup