Check if the component is mounted before deciding which rows have to be displayed
Move JS version to lib folder
Upgrade version number