there was an error in my js