Making progress on webworker implementation