previous runs list
format the javascript code a bit