Quote validation js change