fix function issues in webapp design documents

This change is a result of https://github.com/leapcode/leap_web/pull/133.
Both should be deployed at the same time to prevent conflicts.