Updated readme with js syntax