creation of Laser output js

newfile to separate the production of svg creation.