Code walkthrough of Chrome Packaged Apps