using web worker and adding new features
adding web worker script