I would like to have these two setInterval functions running in parallel - and looping , however the result I\'m getting with the code below is that the first function runs