Added web worker to make application work at normal speed when tab is inactive.