trial build using ajax and json