test javascript loading