tabs to spaces, added JS event notification when resuming the app from c...

tabs to spaces, added JS event notification when resuming the app from cold with notification