Trying to display output of Javascript returned