add return to prevent this breaking for jquery