fixing bug with frustrated.js. adding example.html