added js random time to mimic real flickering on chandeleir