classroom example of phoneGap compass