Only add initjs partial tag if the request is xhr