Packaged App JS Code

Fixes #44