correctly locate JavaScript ROOT sources, using ROOTETCDIR define

Signed-off-by: Bertrand Bellenot <bertrand.bellenot@cern.ch>