move ace worker to js