Adding Javascript extensibility to field reports