[Sandeep] Use json to send data to the app
[Sandeep] fixed a small error on page load
[Sandeep] some syntactic changes