Second "pull request" on fabrica's github.

Second “pull request” on fabrica’s github.

Added preventDefault to all click events so that location won’t be redirected to #.
In configuration.html added classes and click events to the 2 remaining buttons and corrected a misspelling error.