fixed argument order bug + reduced N in scrypt for JS to work as well