default to ajax libs when possible