added min file, cleaned up and added json.stringify