small js client fixes, scope a few variables properly, store json_class received w/ object
small js client fixes, scope a few variables properly, store json_class received w/ object

movitto/rjr,movitto/rjr,movitto/rjr