debug: javascript loading issues