fix javascript error
[Error] SyntaxError: Unexpected end of script
	(anonymous function) (configuration_automation.php, line 524)