Added sample javascript client via ajax