Update app_proto.js
Merge pull request #1 from AnatoliySolov/master

refactoring