Add JS examples for resource timing.