Fixing js error in e4373fbb2fea572bcfe292853670a8ca034810e3