Successfully running the scrypt algorithm in optimized JavaScript.
And added a timer to check performance.