Unify js style, add missing comma

Several style patterns were used in the readme documentation. This unifies them