port to chrome packaged app format