Removing introduced JS error