MT#6839 Add js sources

(cherry picked from commit 68ac88ea4004547a829d97b1502e248ac2b4467d)
MT#6839 clean lintian errors

(cherry picked from commit 2ac6f582ac840b648a7a72d6e93cd9194e92b361)