Editing some of the javascript to see if output multiple lines