move JS formater to Widget property