Reformat Logster JS code

spaces are nice. manually checked