Javascript List Keep Output On Same Line