update readme with js examples
remove var_dump