Reformat Logster JS code

spaces are nice