make jQuery requirement optional