Update pom.xml to be able to process jsm + Do not use const keyword, replaced by var