Prefix selector with `js-`
Update lxml requirement to match TTK
Cleanup: removed dead code
Node might be of a text type and thus not have the `getAttribute` method

This fixes the JS error that occurred on permissions page
Updating INSTALL #3292.

Fixes #3292