UpdateVisualFix: Fixed some broken javascript due to visual update.