javascript: document %include directive