Added fixes for loading java doc in Magnifier sample.