platform-demos: Fix dialog.js example

https://mail.gnome.org/archives/docs-feedback/2014-December/msg00014.html
platform-demos: Fix guitar-tuner.js sample

https://mail.gnome.org/archives/docs-feedback/2014-December/msg00015.html