simpler template and js linted in docs