Add memory measurement to balls.html and dromaeorunner.js