rerender with gulp, proper injection