Added setTimeout to check youtube js api loading