Make js async