it seems that you didn't initiate this variable in your code i initiated it in my js and it works now you should do it if you don't want everyone to diy