javascript comment deleted that caused an error