@pedrochristo
I try to using source in below article It can run on both Firefox and Chrome normally.
Hope this will be useful