Documenting Javascript through test specs