Fix trivial javascript errors.
Improve view detection by lowering down the priority of 'table.list'.

Issue View also can contain table.list(related issues, ...).
Merge branch 'fix/view-detection'