Add JS support to the licence enforcer and start checking the JS
(cherry picked from commit ff28a6b5f4d7407217e2f380dc11415a3f8bb570)