better code
clean some code
full vanilla js instead of paperjs