[README] shorten javascript method usage