Untangle 'complete' events of rpc and spinner hide effect
Fix for 'bb_use_debug_js' param
Fix JS bug creation

* Do not send empty values
* Make sure multi value fields are sent as array
Also handle number in multi value field