some phpmd corrections
fix js