move the js back for now to not need worry about the path for API
Merge branch 'master' into testdesign
return is JSON format, read the parameter
rename parameters to match what the server expects
Merge branch 'master' into testdesign