make sample metric more animated
escape newlines in json
update flot app to latest version
fix url mapping for flot app