Add warning message when requireJson fails