Do not use vars out of scope
Some forgotten === conversion
Include pmd files in checking
JS fixes for PMD code

- parseInt with radix
- === and !== for type cast unsafe values