Fix #10 js async loading issue