fix java script error with unexpected ")"
	*change from )}; to		});