Console: fixing js loading issue