Modularize safety.js
Sketch analyst worker