separate web worker and node compilation