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