Add treatment template, add js code to submit treament for a tooth