webapp: Fix hardcoded values

Signed-off-by: Kumar Abhishek <abhishek@theembeddedkitchen.net>