updated readme to reflect changes to js
see readme. can now pass arguments as an object